﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub b1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles b1.Click
        Dim a, b, sum As Integer
        a = tb1.Text
        b = tb2.Text
        sum = a + b
        lb3.Text = sum
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        tb1.Text = ""
        tb2.Text = ""
        lb3.Text = ""
    End Sub
End Class